
//Engine and game headers
//#include "Game.h"

//Ouden engine header
#include "Ouden\ouden.h"

//Standard library headers
#include <windows.h>
#include <iostream>	//For cout function

#include "CTestEntity.h"

//TODO: Finalise sceneelement hierachy and respective constructors 
//Analyse persistence and file loading and finalise for loadable objects 
//Work out rendering routines and linking with camera and test drawing objects 
//Work out and finalise collision system 
//Create object with input control and interaction 


PhysicalObject
	Colliders
	
	
CollisionManager
	Colliders


//------Used namespaces------
using std::cout;
//---------------------------

using namespace ouden;

//Main routine

int WINAPI WinMain(	HINSTANCE	hInstance,			// Instance
					HINSTANCE	hPrevInstance,		// Previous Instance
					LPSTR		lpCmdLine,			// Command Line Parameters
					int			nCmdShow)			// Window Show State
{

	//Get engine object
	ODN_Engine* Engine = getEngine();
	
	Engine->Init("Ouden Engine demo", 640, 480, 16, false);
	
	//Create the scenes 
	scene::ODN_Scene* Scene = Engine->getScene();
	
	//TODO: Check this
	//Create texture handler
	gfx::ODN_TextureHandler TextureHandler;
	
	//Create a test object 
	CTestEntity* Dot = new CTestEntity();
	
	//Set some atributes of the object 
	Dot->setColor(RGBAColor(1, 1, 0, 1));
	Dot->setTexture(TextureHandler.getTexture("gfx\\grass.tga"));
	Dot->pos = Vector3D(10,10,0);
	
	//Run the engine 
	Engine->Run();
	
	
	
}
